{
  "statuslist": {
    "status": [
    {{foreach from=$statusList item=status name=festatusList}}	
      {
        "id": "{{$status.id}}",
        "name": "{{$status.name}}",
        "color": "{{$status.color}}"
      }
      {{if $smarty.foreach.festatusList.last}} {{else}},{{/if}}
      {{/foreach}}
    ]
  }
}